/*
 *  This file is part of AtlasMapper server and clients.
 *
 *  Copyright (C) 2011 Australian Institute of Marine Science
 *
 *  Contact: Gael Lafond <g.lafond@aims.org.au>
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

.icon-user {
	background-image: url(icons/user.png) !important;
}

.icon-user-add {
	background-image: url(icons/user_add.gif) !important;
}

.icon-save {
	background-image: url(icons/save.gif) !important;
}

.icon-reset {
	background-image: url(icons/stop.png) !important;
}

.icon-grid {
	background-image: url(icons/grid.png) !important;
}

.icon-add {
	background-image: url(icons/add.png) !important;
}

.icon-delete {
	background-image: url(icons/delete.png) !important;
}

/* ExtJS remove the bullets to start from a known point
	(some browser (IE) are really bad at following standards)
	This class Reset bullet for chosen lists */
#about ul,
div.messageWindow ul,
div.tooltip ul,
ul.bullet-list {
	padding-left: 2em;
	list-style-type: disc;
}
#about ol,
div.messageWindow ol,
div.tooltip ol,
ol.bullet-list {
	padding-left: 2em;
	list-style-type: decimal;
}
/* ExtJS remove the bullets on li instead of ul. It has to be reset in both. */
#about ul > li,
div.messageWindow ul > li,
div.tooltip ul > li,
ul.bullet-list > li {
	list-style-type: disc;
	margin: 0.5em 0;
}
#about ol > li,
div.messageWindow ol > li,
div.tooltip ol > li,
ol.bullet-list > li {
	list-style-type: decimal;
	margin: 0.5em 0;
}

div.messageWindow em,
div.tooltip em {
	font-style: italic;
}
div.messageWindow strong,
div.tooltip strong {
	font-weight: bold;
}

.grid-icon {
	margin: 0 5px;
	cursor: pointer;
}

div.messageWindow p {
	margin: 0.5em 0;
	text-align: justify;
}

div.messageWindow pre.code {
	margin: 0.2em 2em;
	padding: 0.2em;
	background-color: #DDDDDD;
}
div.messageWindow .success {
	color: #00FF00;
}
div.messageWindow .error {
	color: #FF0000;
}

#about table {
	border-collapse:collapse;
	margin-bottom: 1em;
}

#about th {
	font-weight: bold;
}

#about th, #about td {
	vertical-align: top;
	padding: 0.5em;
}

#about table, #about th, #about td {
	border: 1px solid black;
}

/* Class for the AjaxTextField */
div.ajaxLoading {
	position: absolute;
	top: 0;
	right: 2px;
	width: 22px;
	height: 100%;
	background-image: url('icons/statusbar/loading.gif');
	background-repeat: no-repeat;
	background-position: right center;
	cursor: wait;
}
